//
//  RJCheckBottomView.h
//  AirQuality
//
//  Created by Po on 15/3/13.
//  Copyright (c) 2015年 Po. All rights reserved.
//  所有站点列表

#import <UIKit/UIKit.h>
#import "RJCheckBottomModel.h"
@protocol RJCheckBottomViewDelegate <NSObject>

- (void)didSelectedRow:(NSUInteger)row data:(NSDictionary *)data position:(NSString *)position modol:(NSArray *)model;

/**更新显示数据*/
- (void)updateDownWithData:(NSDictionary *)data;

/**网络请求失败*/
- (void)netRequestBottomFail;
@end

@interface RJCheckBottomView : UIView

- (instancetype)initWithFrame:(CGRect)frame;

@property (retain, nonatomic) RJCheckBottomModel * model;   //数据

@property (assign, nonatomic) id<RJCheckBottomViewDelegate> delegate;

/**重置城市数据,传入站点STATIONTYPES*/
- (void)reSetCityStation:(NSArray *)stations cityName:(NSString *)name;

/**设置空气分支*/
- (void)setAirKey:(NSString *)key;
/**
 *  更新站点选择类型
 */
- (void)updateBottomTable:(NSString *)stationClassfiction;

/**释放资源,取消通知等等*/
- (void)freeFunc;
@property (strong, nonatomic) NSMutableArray * stationType; //站点类型

@end
